package com.neusoft.neuhealth.service;

import com.neusoft.neuhealth.po.Result;
import com.neusoft.neuhealth.po.bed.params.ListParams;
import com.neusoft.neuhealth.po.bed.params.SwapParams;
import com.neusoft.neuhealth.po.bed.result.*;

import java.util.List;
import java.util.Map;

public interface IBedService {
    Result<List<MapResult>> getMap(String floor);

    Result<ListResult> getList(ListParams params);

    Result updateUsageEndDateById(Long id, Map<String,String> params);

    Result<List<FreeRoomsResult>> selectFreeRooms();

    Result<List<Pair>> selectFreeBeds(String roomNumber);

    Result swap(SwapParams params);

    Result<List<String>> floorList();

    Result<Long> freeBedCount();

    Result<Long> BedCount();
}
